package com.book.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * address
 * @author 
 */
@Data
@TableName(value = "address")
public class Address implements Serializable {
    /**
     * 地址id
     */
    @TableId
    private int id;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 收件人姓名
     */
    private String name;

    /**
     * 详细地址
     */
    private String detailedAddress;

    /**
     * 联系电话
     */
    private String phone;

    /**
     * 删除标志
     */
    @TableLogic
    private Integer delFlag;

    private static final long serialVersionUID = 1L;
}